{extend name="public/base" /}
{block name="style"}<link href="__LIB__/fileinput/css/fileinput.min.css" rel="stylesheet" /> {/block}
 {block name="body"}
 <div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong>商品自定义属性设置</strong></li>
	</ol>
</div>
<div class="ibox float-e-margins">
	{include file="line_attributes/top"}
	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('goodsattr')}">
		<input type="hidden" name="id" value="{$ad.id}" />
		<!--会员商品自定义属性-->
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性1：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv1" name="goods_propertyv1" value="{$ad.goods_propertyv1}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性2：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv2" name="goods_propertyv2" value="{$ad.goods_propertyv2}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性3：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv3" name="goods_propertyv3" value="{$ad.goods_propertyv3}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性4：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv4" name="goods_propertyv4" value="{$ad.goods_propertyv4}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性5：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv5" name="goods_propertyv5" value="{$ad.goods_propertyv5}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性6：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv6" name="goods_propertyv6" value="{$ad.goods_propertyv6}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性7：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv7" name="goods_propertyv7" value="{$ad.goods_propertyv7}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性8：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv8" name="goods_propertyv8" value="{$ad.goods_propertyv8}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性9：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv9" name="goods_propertyv9" value="{$ad.goods_propertyv9}"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">商品自定义属性10：</label>
			<div class="input-group col-sm-4">
				<input type="text" id="goods_propertyv10" name="goods_propertyv10" value="{$ad.goods_propertyv10}"  class="form-control" />
			</div>
		</div>
		 <!--商品商品自定义属性end-->
			
		<div class="form-group">
			<div class="col-sm-4 col-sm-offset-4">
				<button class="btn btn-primary" type="submit"><i class="fa fa-save"></i> 保存</button>
			</div>
		</div>
		</form>
	</div>
</div>
{/block} {block name="script"}
<script src="__JS__/jquery.form.js"></script>
<script src="__LIB__/validate/jquery.validate.min.js"></script>
<script src="__LIB__/validate/messages_zh.min.js"></script>
<script src="__LIB__/validate/add_validate.min.js"></script>
<script src="__LIB__/fileinput/js/fileinput.min.js"></script>
<script src="__LIB__/fileinput/js/locales/zh.js"></script>
<script>
	//顶部导航
	$("#li-bar-goodsattr").addClass("active");
	$(function() {
		$("#myForm").validate({
			rules: {
			},
			messages: {
			},
			submitHandler: function(form) {
				ajaxForm();
			}
		});
	});
</script>
{/block}